package pc15;

public class J01Retangle {

	public static void main(String[] args) {
		//변수선언
		double width = 1.0, height = 1.0;
		String color = "white";
		double getArea, getPerimeter;
		
		//시험값 대입
		/*width = 4; height = 40; color = "red";*/
		width = 3.5; height = 35.9; color = "orange";
		
		//사각형 면적, 둘레 계산
		getArea = width * height;
		getPerimeter = 2 * (width + height);
		
		//출력
		System.out.println(color);
		System.out.println(getArea);
		System.out.println(getPerimeter);
	}
}
